package com.qst.system.service.impl;

import com.qst.system.domain.BankSend;
import com.qst.system.domain.vo.BankSendVo;
import com.qst.system.mapper.BankSendMapper;
import com.qst.system.service.IBankSendService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.Collections;
import java.util.List;

@Service
public class BankSendServiceImpl implements IBankSendService {

    @Autowired
    private BankSendMapper bankSendMapper;

    @Override
    public List<BankSendVo> selectBankSendList(BankSendVo bankSendVo) {
        return bankSendMapper.selectBankSendList(bankSendVo);
    }

    @Override
    public BankSendVo selectBankSendById(Long id) {
        return bankSendMapper.selectBankSendById(id);
    }

    @Override
    public int insertBankSend(BankSendVo bankSend) {
        return bankSendMapper.insertBankSend(bankSend);
    }

    @Override
    public int updateBankSend(BankSendVo bankSend) {
        return bankSendMapper.updateBankSend(bankSend);
    }

    @Override
    public int deleteBankSendById(Long id) {
        return bankSendMapper.deleteBankSendById(id);
    }

    @Override
    public int deleteBankSendByIds(Long[] ids) {
        return bankSendMapper.deleteBankSendByIds(ids);
    }
}